package pl.nazaweb.samplesandtutorials.abstracts;

import java.util.HashMap;
import java.util.Map;

import pl.nazaweb.samplesandtutorials.abstracts.contentproviders.AbstractTable;

public class ShopList extends AbstractTable {

	private Map<String, String> columns;

	public ShopList() {
		columns = new HashMap<String, String>();
		columns.put("name", "TEXT");
		columns.put("price", "REAL");
		columns.put("create_date", "INTEGER");
	}

	@Override
	public String getAuthority() {
		return "pl.nazaweb.samplesandtutorials.abstracts.ShopListProvider";
	}

	public void setColumns(Map<String, String> col) {
		columns = col;
	}

	@Override
	public Map<String, String> getColumnsWithTypes() {
		return columns;
	}

}
